package kr.hkit.powerjava.chaper05.work;

import java.util.Scanner;

	public class work22 {
		public static void main(String[] args) {
		
			int years;
			int age;
			int family;
			 
			Scanner sc = new Scanner(System.in);
			System.out.print("무주택 기간: ");
			years = sc.nextInt();    
		    System.out.print("가구주의 연령: ");
		    age = sc.nextInt();
		    System.out.print("가족의 수: ");
		    family = sc.nextInt();
		    
		    boolean result = (years >=3 && age >= 40 && family >=3);
		    System.out.println(result);		    
	}
}
